﻿/*****************************************************************//**
 * @file    FITKAcousticsVTKViewAdaptorSEACylinderCurveShells.h
 * @brief   Adaptor for SEA sub-system shell data.
 *  
 * @author  ChengHaotian (yeguangbaozi@foxmail.com)
 * @date    2024-11-18
 *********************************************************************/

#ifndef __FITKACOUSTICSVTKVIEWADAPTORSEACYLINDERCURVESHELLS_H__
#define __FITKACOUSTICSVTKVIEWADAPTORSEACYLINDERCURVESHELLS_H__

#include "FITKAcousticsVTKViewAdaptorBase.h"

#include "FITKAcousticsVTKGraphAdaptorAPI.h"

namespace Exchange
{
    /**
     * @brief   Graph object data adaptor for 'SEA sub-system shell'.
     * @author  ChengHaotian (yeguangbaozi@foxmail.com)
     * @date    2024-11-18
     */
    class FITKACOUSTICSGRAPHADAPTORAPI FITKAcousticsVTKViewAdaptorSEACylinderCurveShells : public FITKAcousticsVTKViewAdaptorBase
    {
        // Regist
        FITKCLASS(Exchange, FITKAcousticsVTKViewAdaptorSEACylinderCurveShells);

    public:
        /**
         * @brief   Constructor.
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-11-18
         */
        explicit FITKAcousticsVTKViewAdaptorSEACylinderCurveShells() = default;

        /**
         * @brief   Destructor.
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-11-18
         */
        ~FITKAcousticsVTKViewAdaptorSEACylinderCurveShells() = default;

        /**
         * @brief   Execute the data exchange.[override]
         * @return  Is OK
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-11-18
         */
        bool update() override;

    };

    // Regist SEA sub-system shell adaptor
    Register2FITKViewAdaptorFactory(SEACylinderShells, Acoustics::FITKAcousticsSEAModel, FITKAcousticsVTKViewAdaptorSEACylinderCurveShells);
}   // namespace Exchange

#endif // __FITKACOUSTICSVTKVIEWADAPTORSEACYLINDERCURVESHELLS_H__